#include <stdio.h>

int main() {
    int num, sign;

    printf("Input: ");
    scanf("%d", &num);

    if (num > 0) {
        sign = 1;
    } else if (num < 0) {
        sign = -1;
    } else {
        sign = 0;
    }

    printf("num = %d, sign = %d\n", num, sign);
    return 0;
}
